package net.sxnic.ugr.dept.action;
import org.apache.commons.lang3.StringUtils;
public class Right extends DeptAction {

	private static final long serialVersionUID = 2553012189864448197L;

	public String execute() throws Exception {

		if (StringUtils.isBlank(root)) {
			list = deptManager.getTopList();
		} else {
			list = deptManager.getChildList(root);
		}

		return SUCCESS;
	}


}
